Move CSVFMTS_ENABLED to more accurately bracket it when disabled.
authorRobert Lipe <robertlipe@gpsbabel.org>
Tue, 19 Sep 2017 20:27:36 +0000 (15:27 -0500)
committerRobert Lipe <robertlipe@gpsbabel.org>
Tue, 19 Sep 2017 20:27:36 +0000 (15:27 -0500)
csv_util.cc

index 9fe3d117d87faa7f40de83578cbbaca2e5cfac4b..63a48114ca3e30a0cb91111ec712347c6ba024f3 100644 (file)
@@ -154,6 +154,7 @@ in_word_set(register const char* str, register unsigned int len);
 #include "xcsv_tokens.gperf"
 #undef register
 
+#if CSVFMTS_ENABLED
 /****************************************************************************/
 /* obligatory global struct                                                 */
 /****************************************************************************/
@@ -161,7 +162,6 @@ in_word_set(register const char* str, register unsigned int len);
 extern char* xcsv_urlbase;
 extern char* prefer_shortnames;
 
-#if CSVFMTS_ENABLED
 XcsvFile xcsv_file;
 static double pathdist = 0;
 static double oldlon = 999;